package com.example.springbootdemo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author brianxia
 * @version 1.0
 * @date 2022-11-11 14:07
 */
//配置属性类
@Data
@ConfigurationProperties(prefix = "test")
public class TestProperty {
    private String a;
    private String b;
}
